package com.xiaoxi.open.design.creation.abstractfactorypattern.service.product.xiaomi;

import com.xiaoxi.open.design.creation.abstractfactorypattern.service.product.factory.RouterService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @ClassName XiaomiRouterServiceImpl
 * @Description
 * @Author xiaoxi
 * @Date 2024/5/12 20:35
 * @Version 1.0
 */
@Service
@Slf4j
public class XiaomiRouterServiceImpl implements RouterService {
    @Override
    public void power() {
        System.out.println("小米路由器开机");
    }

    @Override
    public void shutdown() {
        System.out.println("小米路由器关机");
    }

    @Override
    public void setting() {
        System.out.println("小米路由器开始设置wifi");
    }
}
